package online.foxnull2.foxmall.product.feign;

import online.foxnull2.common.to.es.SkuEsModel;
import online.foxnull2.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("foxmall-search")
public interface SearchFeignService {

    @RequestMapping("/search/product/save")
    R productSave(@RequestBody List<SkuEsModel> skuEsModels);

}
